<%@ page language="java" pageEncoding="UTF-8" %>

<!DOCTYPE html>
<html>
<head>
    <base href="${base}"/>
    <meta charset="UTF-8"/>
    <title>${resume.work.name} - ${resume.companys.name} - 蜗牛人才招聘系统</title>
    <link rel="shortcut icon" href="favicon.ico"/>
    <link href="styles/common.css" rel="stylesheet" type="text/css"/>
    <link href="styles/comp.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="js/jquery-3.4.1.js"></script>
    <script>
        $(function () {
            //增加职位收藏
            $("#add_favorites").click(function () {
                $.getJSON("user/favo/" + "${work.id}", function (r) {
                    if (r.code == "200") {
                        alert("职位收藏成功");
                    } else if (r.code == "333") {
                        alert("未设置默认职位");
                    } else {
                        alert("职位收藏失败");
                    }
                })
            })


            //投递简历
            $("#sendResume").click(function () {
                $.getJSON("user/sendResume/" +"${work.id}", function (r) {
                    if (r.code == "200") {
                        alert("投递成功");
                    } else if (r.code == "500") {
                        alert("已经投递");
                    } else {
                        alert("异常投递");
                        location.href="http://localhost:8088/personal/resume_1"
                    }
                })
            })
        })

    </script>
</head>
<body>
<jsp:include page="header.jsp"></jsp:include>
<!--导航 -->
<div class="floatnav">
    <jsp:include page="nav.jsp"></jsp:include>
</div>
<!--导航end -->
<div class="page_location link_bk">
    当前位置：<a href="//">首页</a>&nbsp;>>&nbsp;<a href="">招聘信息</a>&nbsp;>>&nbsp;<a
        href="">${work.companys.name}</a>&nbsp;>>&nbsp;${work.name}
</div>

<div class="company-show-topnav">
    <div class="topcomname">
        <h1>${work.companys.name}</h1>
        <div class="company_license2" title="营业执照未验证"></div>
        <div class="clear"></div>
    </div>
    <div class="snav">
        <a href="comp_view.jsp">公司介绍</a> <a href="comp_jobs.jsp"
                                            class="selected">招聘职位</a>
        <div class="clear"></div>
    </div>
</div>
<div class="jobs-show">
    <div class="left">
        <div class="show link_lan">
            <div class="jobsshow">
                <h1>${work.name}</h1>
                <div class="imgtipbox">
                    <div class="liimg li1">
                        2013-08-12<br/>更新时间
                    </div>
                    <div class="liimg li2">
                        <span class="click">10</span><br/>浏览次数
                    </div>
                    <div class="liimg li3">
                        1<br/>简历投递量
                    </div>
                    <div class="liimg li4">
                        0<br/>职位评价
                    </div>
                    <div class="liimg li5">
                        未认证<br/>营业执照
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="tip">招聘进行中，欢迎投递简历，截止日期为：2020-08-27</div>
                <ul class="floatli link_bku">
                    <li>招聘职位：${work.name}</li>
                    <li>招聘公司：<a href="">${work.companys.name}</a></li>
                    <li>职位类型：<a href="" target="_blank">${work.categorys.name}</a></li>
                    <li>薪金待遇：<a href="" target="_blank">${work.salaryRange}</a></li>
                    <li>招聘人数：${work.numbers} 人</li>
                    <li>性别要求：不限</li>
                    <li>学历要求：${resume.work.education}</li>
                    <li>工作地区：<a href="" target="_blank">${work.address}</a></li>
                    <li>所属行业：<a href="" target="_blank">${work.companys.industry}</a></li>
                    <li>工作经验：不限制</li>
                    <li>查看次数：<span class="click"></span>次
                    </li>
                    <li>发布日期：2013-08-12</li>
                    <li>刷新日期：2013-08-12 10:38</li>
                    <li>截止日期：2013-08-27</li>
                    <li style="width: 90%">标签： 无</li>
                </ul>
                <div class="clear"></div>
                <div class="title">
                    <strong>职位描述</strong>
                </div>
                ${work.description}
                <div class="title">
                    <strong>联系方式</strong>
                </div>
                联系人：${work.companys.legalPerson}<br/>
                联系电话：${work.companys.tel}<br/>
                邮箱：${work.companys.email}
                <!--AJAX 联系方式 -->
                <div id="jobs_contact"></div>
                <div align="center" class="link_lan">
                    <br/> <img src="images/60.gif" border="0" class="app_jobs"
                               style="cursor: pointer" id="sendResume"/><br/> <br/> <a
                        href="javascript:void(0)" class="add_favorites" id="add_favorites">[收藏职位]</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)"
                                               onClick="window.opener='anyone';window.close();">[关闭本页]</a><br/>
                </div>
                <div class="share">
                    <!-- Baidu Button BEGIN -->
                    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                        <a class="bds_qzone">QQ空间</a> <a class="bds_tsina">新浪微博</a> <a
                            class="bds_tqq">腾讯微博</a> <a class="bds_renren">人人网</a> <span
                            class="bds_more">更多</span>
                    </div>
                    <script type="text/javascript" id="bdshare_js"
                            data="type=tools&amp;uid=659075"></script>
                    <script type="text/javascript" id="bdshell_js"></script>
                    <script type="text/javascript">
                        document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion="
                            + new Date().getHours();
                    </script>
                    <div class="clear"></div>
                    <!-- Baidu Button END -->
                </div>
                <div class="remind">防骗提醒：
                    招聘单位无权向求职者收取任何费用，如有单位在面试过程中向您收取押金、保证金、体检费、材料费、成本费等违规费用，指定医院体检等均为诈骗行为，欢迎举报。
                </div>
            </div>
        </div>
        <!--评论 -->
        <div id="pl"></div>
    </div>
    <div class="right">
        <jsp:include page="company/right.jsp"></jsp:include>
    </div>
    <div class="clear"></div>
</div>
<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>

